#!/bin/bash

WORKSPACE=$(dirname "$0")

source_dir="$WORKSPACE/changed"
dest_dir="$WORKSPACE/luban-src/src"

# 检查目标目录是否存在，不存在则创建
mkdir -p "$dest_dir"

echo "source path: $source_dir"
echo "dest path: $dest_dir"

cp -r "$source_dir"/* "$dest_dir"/
# rsync -av --progress "$source_dir"/* "$dest_dir"/
echo "completed!"